Repository navigation
refactor: stop adopting report comments from before v2.13 - #359
Conversation
v2.13.0 added a marker to the PR comment. Comments posted before it were adopted by their title so the first run after an upgrade edited the old comment instead of posting a second one. That release is months old, so drop LEGACY_TITLES and match on the marker only.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #359 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 1281 1279 -2
=========================================
- Hits 1281 1279 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
v2.13.0 (August) added a hidden marker to the PR comment. Comments posted by older versions have no marker, so
LEGACY_TITLESkept adopting them by their title, so that the first run after an upgrade edited the old comment instead of posting a second one. That upgrade window is long past.Before vs after
# Commit Check/# Commit-Check, no markerChanges
action/publish.py: removeLEGACY_TITLESand the title-prefix branch of_find_own_comments; only marked bot comments are edited or deleted.tests/publish_test.py: the update test now uses a marked comment; the adoption test now checks that an unmarked bot comment is left alone.412 tests pass, coverage stays at 100%, pre-commit clean.
Summary by CodeRabbit